package com.jsoup.mapper;

import com.jsoup.bean.Stayword;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface StaywordMapper {
    int deleteByPrimaryKey(@Param("staywordId") Integer staywordId);

    int insert(@Param("stayword") Stayword stayword);

    int insertSelective(@Param("stayword") Stayword stayword);

    Stayword selectByPrimaryKey(@Param("staywordId") Integer staywordId);

    int updateByPrimaryKeySelective(@Param("stayword") Stayword stayword);

    int updateByPrimaryKeyWithBLOBs(@Param("stayword") Stayword stayword);

    int updateByPrimaryKey(@Param("stayword") Stayword stayword);

    List<Stayword> selectStayword(@Param("stayword") Stayword stayword);

    List<Stayword> searchStayword(@Param("stayword") Stayword stayword);
}